import javax.swing.*;

/**
 * Created by dllo on 18/4/3.
 */
public class Main {
    public static void main(String[] args) {

        Person person = new Person();
        person.age = 18;
        person.sex = "女";
        person.eat();


        Plant plant = new Plant();
        plant.color = "绿色";
        plant.size = "大树";
        plant.photosynthesis();


        Animal animal = new Animal();
        animal.fat = "胖";
        animal.kind = "狗";
        animal.run();


        Car car = new Car();
        car.brand = "大众";
        car.oilMass = 2.0f;
        car.eatOil();



        Director director = new Director();
        director.hair = "少";
        director.script = "山楂树之恋";
        director.directMovie();

        Computer computer = new Computer();
        computer.CPU = "i5";
        computer.style = "Mac";
        computer.type();

        Phone phone = new Phone();
        phone.internalStorage = "64G";
        phone.softWare = "AppStore";
        phone.doCall();

        Camera camera = new Camera();
        camera.pixel = "1024*1024";
        camera.directionOfRotation = "顺时针";
        camera.takePhoto();

        Book book = new Book();
        book.page = 222;
        book.struture = "总分总";
        book.showMean();

        Clothes clothes = new Clothes();
        clothes.rawMaterial = "纯棉";
        clothes.tag = "M";
        clothes.keepWarm();

        Company company = new Company();
        company.culture = "让天下没有难做的生意";
        company.legalPerson = "MY";
        company.doProduct();

        Microbe microbe = new Microbe();
        microbe.biotransformation = "吸多转快";
        microbe.volumel = "体小面大";
        microbe.growthAndReproduction();

        KeyBoard keyBoard = new KeyBoard();
        keyBoard.currsorBlink = "快";
        keyBoard.repeatDelay = " 短";
        keyBoard.doType();

        School school = new School();
        school.compose = "公办";
        school.property = "985";
        school.teachChild();

        Resturant resturant = new Resturant();
        resturant.menu = "海鲜";
        resturant.scale = "大";
        resturant.cook();
    }
}
